package com.lijiaxing.service;

import com.lijiaxing.pojo.PermissionRes;
import com.lijiaxing.pojo.Result;

public interface userService {
    Result setRegister(String utel, String upwd, String code);

    boolean queryVerification(String utel, String upwd);

    boolean queryOneUser(String utel);

    Result<Object> login(String utel, String upwd);

    Result addPermission(PermissionRes.Permission p);

    Result queryTenPermission(int pageNum, int pageSize);

    Result updatePermission(PermissionRes.Permission p);

    Result queryAllPermission();
}
